package com.peace.hospital.entity.drugstorage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.peace.hospital.entity.common.Druginformation;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xie
 * @since 2019-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Damagedrug implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "damid", type = IdType.AUTO)
    private Integer damid;

    private Integer drugid;

    private Integer frmid;

    private Integer damnum;

    private Date damdate;

    private String damreason;
    @TableField(exist = false)
    private Druginformation druginformation;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getDamid() {
        return damid;
    }

    public void setDamid(Integer damid) {
        this.damid = damid;
    }

    public Integer getDrugid() {
        return drugid;
    }

    public void setDrugid(Integer drugid) {
        this.drugid = drugid;
    }

    public Integer getFrmid() {
        return frmid;
    }

    public void setFrmid(Integer frmid) {
        this.frmid = frmid;
    }

    public Integer getDamnum() {
        return damnum;
    }

    public void setDamnum(Integer damnum) {
        this.damnum = damnum;
    }

    public Date getDamdate() {
        return damdate;
    }

    public void setDamdate(Date damdate) {
        this.damdate = damdate;
    }

    public String getDamreason() {
        return damreason;
    }

    public void setDamreason(String damreason) {
        this.damreason = damreason;
    }

    public Druginformation getDruginformation() {
        return druginformation;
    }

    public void setDruginformation(Druginformation druginformation) {
        this.druginformation = druginformation;
    }
}
